package model;

/**
 * @Question Book
 * @Date 2022/12/17 11:00
 * @Solution
 */
public class Book {
    int bookId;
    String bookName;
    String bookAuthor;
    String bookPre;
    boolean state;//true为可借

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public String getBookPre() {
        return bookPre;
    }

    public void setBookPre(String bookPre) {
        this.bookPre = bookPre;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }
}
